# HP OpenView Service Desk

## version 4.5
Attachements with Database Rule Send Email Action

December 2005

© Copyright 2005 Hewlett-Packard Development Company, L.P.

## Content:

Last-minute information
Introduction
Getting Started

## LAST-MINUTE INFORMATION

There is no last-minute information.

## INTRODUCTION

Attachment Classification Code is introduced to classify attachments. "Send e-mail message" action in Database Rule can send email with attachments of selected classifications.

## GETTING STARTED

### Define attachment classification code

Logon with system administrator, open administrator console, go to "Data > Codes > General > Attachment Classification Code".

Screenshot 1

Create an Attachment Classification Code, for example, "Internal" and "External"

Screenshot 2

### Set the classification for attachments

User can set attachment classification code by right clicking attachment icon, for example, in service call:

Screenshot 3

One attachment can be selected with multiple attachment classification codes.

The name of attachment which has been set classification is prefixed with an asterisk ('*'):

Screenshot 4

To get an overview of entire Attachment Classifications setting, user can click "Toggle" in Attachment Field:

Screenshot 5

Screenshot 6

### Send email with attachment in Database Rule

Logon with system administrator, open administrator console, go to "Business Logic > Database Rules > Service call", create a new Service call Database Rule with an action of "Send e-mail message":

Screenshot 7

In "Send e-mail Message" form, a new checkbox named "Send-out Attachment Classifications" has been added. After checking the checkbox, choose classification code in the right drop down list:

Screenshot 8

There is a default attachment classification code "<Unclassified>", it is used for those attachments which have no attachment classification code.

When this Database Rule is triggered, it will send an outbound mail with attachments of selected classification codes.